package com.go.where.family.dao.impl;

import java.util.Map;

import org.springframework.stereotype.Repository;

import com.go.where.family.dao.StarPhotoDao;
import com.go.where.family.pojo.StarPhotoInfo;

@Repository("starPhotoDao")
public class StarPhotoDaoImpl extends BaseDaoImpl<StarPhotoInfo, String>
		implements StarPhotoDao {

	@Override
	public String getNameSpace() {
		return "mybatis.xml.StarPhotoMapper";
	}

	@Override
	public long queryTotalSupport(Map<String, Object> map) {
		return getSqlSession().selectOne(getNameSpace() + ".queryTotalSupport",
				map);
	}

}
